package com.net.common.dao;

import com.net.common.annotation.WriteTransactional;
import org.springframework.transaction.annotation.Propagation;

import com.net.common.domain.VersionedDomain;

public interface VersionedMapper<K, T extends VersionedDomain> extends PagedMapper<K, T> {
    @WriteTransactional(propagation = Propagation.SUPPORTS)
    int updateByPrimaryKeyWithVersion(T record);
}
